// 导出express
const express = require('express');
// 创建路由对象
const router = express.Router();

router.get('/get/list', (req, res) => {
    console.log('路由化的get router');
    res.send('路由化的get router');
})

router.post('/get/list', (req, res) => {
    console.log('路由化的post router');
    res.send('路由化的post router');
})

// 向外导出路由对象
module.exports = router;